setlocal enabledelayedexpansion enableextensions
set LIST=
for %%i in (*) do set LIST=!LIST! %%i
echo %LIST%